﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BussModel;
using DataBase;
using System.Data.SqlClient;
using System.Data;

namespace DataManager
{
    /// <summary>
    /// FavoriteManager 的摘要描述
    /// </summary>
    public class FavoriteManager
    {
        private static FavoriteManager instance = null;

        public static FavoriteManager Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new FavoriteManager();
                }
                return instance;
            }

        }

        public FavoriteManager()
        {
            //
            // TODO: 在此加入建構函式的程式碼
            //
        }


        public DataSet GetFavorite()
        {
           return  Register.Instance.GetFavorite();
        }
        
    }
}